package cn.fcq.basic.constants;

public class BaseConstant {
    public class RegisterConstants {
        //注册短信验证码的key前缀
        public static final String REGISTER_SMS_PREFIX = "register:";
        //登录短信息验证码的key前缀
        public static final String LOGIN_SMS_PREFIX = "login:";
    }

    public class WeChatConstants {
        public static final String APPID = "wxd853562a0548a7d0";
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
        //注册短信息验证码 key的前缀
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
        public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";
    }

}
